﻿
using System;
namespace TecBaseObjects.Objects {
    public class InvoiceObj : AkontoObj {

        #region Members

        private int number;
        private string tpUser;

        #endregion

        #region Constructor
        

        public InvoiceObj (int number, double amount, DateTime date): base (amount, date) {
            this.number = number;
        }
                
        #endregion

        #region Properties

        new public double Amount {
            get { return base.Amount; }
            set { base.Amount = value; }
        }

        new public DateTime Date {
            get { return base.Date; }
        }

        public int Number {
            get { return this.number; }
        }

        public string TpUser {
            get { return this.tpUser; }
            set { this.tpUser = value; }
        }

        #endregion

    }
}
